package com.zoe.app.mapper;

import com.zoe.app.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Zoe.Zhang
 * @date 2021/10/13
 * @description
 */
public interface UserMapperXML {
    List<User> getUserById(Long id);

    List<User> listAllUsers();

    int saveUser(User user);

    int removeUserById(Long id);

    int updateUserById(@Param("name") String name, @Param("id") Long id);
}
